Ext.define('Zm.store.ExtStore',{
    extend: 'Ext.data.Store',
    action:'',
    constructor: function(config){
        var me = this;
        if(config && config.action){
            me.action = config.action;
        }
        config = Ext.Object.merge({
            proxy: {
                type: 'ajax',
                url : g_app + me.action,
                reader: {
                    type: 'json',
                    root: 'data',
                    totalProperty:'msg' 
                }
            }
        }, config);
        me.callParent([config]);
    } 
});